#include"Queue.h"


int main()
{
	Queue pq;
	InitQueue(&pq);

	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	
	QueuePop(&pq);

	QNode* move = pq.phead;
	while (move)
	{
		printf("%d ", move->x);
		move = move->next;
	}

	QDataType x = QueueTop(&pq);
	printf("%d", x);

	//QDataType y = QueueRear(&pq);
	//printf("%d", y);*/
	//int size = QueueSize(&pq);
	//printf("%d", size);

	//bool bo = QueueEmpty(&pq);
	//if (QueueEmpty(&pq))
	//{
	//	printf("1");
	//}
	QueueDestroy(&pq);

	return 0;
}